@layout("/common/_container.html",{js:["/assets/bi/biRoadWayList/biRoadWayList.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">齐河集货区情况</span>
</div>
<style type="text/css">
    .layui-table-cell {
        height: auto;
        padding: 15px;
        /*border: 3px solid #bbe2d5;*/
    }
    .layui-table-page{
    	display: none;
    }
</style>
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-inline">
                            <input id="plateNumber" class="layui-input" type="text" placeholder="车牌号"/>
                        </div>
                        <div class="layui-inline">
                            <input id="clientName" class="layui-input" type="text" placeholder="门店"/>
                        </div>
                        <div class="layui-inline">
                            <select id="orderBy">
                                <option value="">巷道顺序</option>
                                <option value="1">送货顺序</option>
                            </select>
                        </div>
                        <div class="layui-inline">
                            <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
                        </div>
                    </div>
                    <table class="layui-table" id="biRoadWayListTable" lay-filter="biRoadWayListTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="getRoadInfoC1">
    {{#  if(d.C1 != '' && d.C1 != null){ }}
    <div>
        <div class="layui-row layui-col-space10">
            <div class="layui-col-md9">
                <span style="color: #000000;font-weight: 600;">{{ d.C1.roadWayCode }}</span>
                <span style="color: #2fa0ec;font-weight: 800;font-size: larger">【{{ d.C1.dockPlat }}平台】</span>
            </div>
            <div class="layui-col-md3 right-top">
                <span style="color: #bb0d0d;font-weight: 800;font-size: larger">{{d.C1.trainSeq}}-{{d.C1.trainRoadWaySeq}}</span>
            </div>
        </div>
        <div>
            <div class="layui-row layui-col-space10">
                <div class="layui-col-md12">
                    门店：{{d.C1.clientName}}
                </div>
                <div class="layui-col-md6">
                    车牌号：{{d.C1.plateNumber}}
                </div>
                <div class="layui-col-md12">
                    最新集货时间：{{d.C1.latestDistributeTime}}
                </div>
                <div class="layui-col-md12">
                    {{#  for(var i =1;i<= d.C1.huoCnt;i++){ }}
                        <span class="layui-badge layui-bg-red">货</span>
                    {{#  } }}
                    {{#  for(var i =1;i<= d.C1.zhanCnt;i++){ }}
                        <span class="layui-badge layui-bg-blue">移</span>
                    {{#  } }}
                    {{#  for(var i =1;i<= d.C1.jiCnt;i++){ }}
                    <span class="layui-badge layui-bg-green">集</span>
                    {{#  } }}
                    {{#  for(var i =1;i<= d.C1.jianCnt;i++){ }}
                    <span class="layui-badge layui-bg-black">拣</span>
                    {{#  } }}
                    {{#  for(var i =1;i<= d.C1.kongCnt;i++){ }}
                        <span class="layui-badge layui-bg-cyan">空</span>
                    {{#  } }}
                    <span> </span>
                    {{#  for(var i =1;i<= d.C1.chaoCnt;i++){ }}
                    <span class="layui-badge layui-bg-orange">超</span>
                    {{#  } }}
                </div>
            </div>
        </div>
    </div>
    {{#  } }}
</script>

<script type="text/html" id="getRoadInfoC2">
    {{#  if(d.C2 != '' && d.C2 != null){ }}
    <div>
        <div class="layui-row layui-col-space10">
            <div class="layui-col-md9">
                <span style="color: #000000;font-weight: 600;">{{ d.C2.roadWayCode }}</span>
                <span style="color: #2fa0ec;font-weight: 800;font-size: larger">【{{ d.C2.dockPlat }}平台】</span>
            </div>
            <div class="layui-col-md3 right-top">
                <span style="color: #bb0d0d;font-weight: 800;font-size: larger">{{d.C2.trainSeq}}-{{d.C2.trainRoadWaySeq}}</span>
            </div>
        </div>
        <div>
            <div class="layui-row layui-col-space10">
                <div class="layui-col-md12">
                    门店：{{d.C2.clientName}}
                </div>
                <div class="layui-col-md6">
                    车牌号：{{d.C2.plateNumber}}
                </div>
                <div class="layui-col-md12">
                    最新集货时间：{{d.C2.latestDistributeTime}}
                </div>
                <div class="layui-col-md12">
                    {{#  for(var i =1;i<= d.C2.huoCnt;i++){ }}
                    <span class="layui-badge layui-bg-red">货</span>
                    {{#  } }}
                    {{#  for(var i =1;i<= d.C2.zhanCnt;i++){ }}
                    <span class="layui-badge layui-bg-blue">移</span>
                    {{#  } }}
                    {{#  for(var i =1;i<= d.C2.jiCnt;i++){ }}
                    <span class="layui-badge layui-bg-green">集</span>
                    {{#  } }}
                    {{#  for(var i =1;i<= d.C2.jianCnt;i++){ }}
                    <span class="layui-badge layui-bg-black">拣</span>
                    {{#  } }}
                    {{#  for(var i =1;i<= d.C2.kongCnt;i++){ }}
                    <span class="layui-badge layui-bg-cyan">空</span>
                    {{#  } }}
                    <span> </span>
                    {{#  for(var i =1;i<= d.C2.chaoCnt;i++){ }}
                    <span class="layui-badge layui-bg-orange">超</span>
                    {{#  } }}
                </div>
            </div>
        </div>
    </div>
    {{#  } }}
</script>

<script type="text/html" id="getRoadInfoC3">
    {{#  if(d.C3 != '' && d.C3 != null){ }}
    <div>
        <div class="layui-row layui-col-space10">
            <div class="layui-col-md9">
                <span style="color: #000000;font-weight: 600;">{{ d.C3.roadWayCode }}</span>
                <span style="color: #2fa0ec;font-weight: 800;font-size: larger">【{{ d.C3.dockPlat }}平台】</span>
            </div>
            <div class="layui-col-md3 right-top">
                <span style="color: #bb0d0d;font-weight: 800;font-size: larger">{{d.C3.trainSeq}}-{{d.C3.trainRoadWaySeq}}</span>
            </div>
        </div>
        <div>
            <div class="layui-row layui-col-space10">
                <div class="layui-col-md12">
                    门店：{{d.C3.clientName}}
                </div>
                <div class="layui-col-md6">
                    车牌号：{{d.C3.plateNumber}}
                </div>
                <div class="layui-col-md12">
                    最新集货时间：{{d.C3.latestDistributeTime}}
                </div>
                <div class="layui-col-md12">
                    {{#  for(var i =1;i<= d.C3.huoCnt;i++){ }}
                    <span class="layui-badge layui-bg-red">货</span>
                    {{#  } }}
                    {{#  for(var i =1;i<= d.C3.zhanCnt;i++){ }}
                    <span class="layui-badge layui-bg-blue">移</span>
                    {{#  } }}
                    {{#  for(var i =1;i<= d.C3.jiCnt;i++){ }}
                    <span class="layui-badge layui-bg-green">集</span>
                    {{#  } }}
                    {{#  for(var i =1;i<= d.C3.jianCnt;i++){ }}
                    <span class="layui-badge layui-bg-black">拣</span>
                    {{#  } }}
                    {{#  for(var i =1;i<= d.C3.kongCnt;i++){ }}
                    <span class="layui-badge layui-bg-cyan">空</span>
                    {{#  } }}
                    <span> </span>
                    {{#  for(var i =1;i<= d.C3.chaoCnt;i++){ }}
                    <span class="layui-badge layui-bg-orange">超</span>
                    {{#  } }}
                </div>
            </div>
        </div>
    </div>
    {{#  } }}
</script>

<script type="text/html" id="getRoadInfoC4">
    {{#  if(d.C4 != '' && d.C4 != null){ }}
    <div>
        <div class="layui-row layui-col-space10">
            <div class="layui-col-md9">
                <span style="color: #000000;font-weight: 600;">{{ d.C4.roadWayCode }}</span>
                <span style="color: #2fa0ec;font-weight: 800;font-size: larger">【{{ d.C4.dockPlat }}平台】</span>
            </div>
            <div class="layui-col-md3 right-top">
                <span style="color: #bb0d0d;font-weight: 800;font-size: larger">{{d.C4.trainSeq}}-{{d.C4.trainRoadWaySeq}}</span>
            </div>
        </div>
        <div>
            <div class="layui-row layui-col-space10">
                <div class="layui-col-md12">
                    门店：{{d.C4.clientName}}
                </div>
                <div class="layui-col-md6">
                    车牌号：{{d.C4.plateNumber}}
                </div>
                <div class="layui-col-md12">
                    最新集货时间：{{d.C4.latestDistributeTime}}
                </div>
                <div class="layui-col-md12">
                    {{#  for(var i =1;i<= d.C4.huoCnt;i++){ }}
                    <span class="layui-badge layui-bg-red">货</span>
                    {{#  } }}
                    {{#  for(var i =1;i<= d.C4.zhanCnt;i++){ }}
                    <span class="layui-badge layui-bg-blue">移</span>
                    {{#  } }}
                    {{#  for(var i =1;i<= d.C4.jiCnt;i++){ }}
                    <span class="layui-badge layui-bg-green">集</span>
                    {{#  } }}
                    {{#  for(var i =1;i<= d.C4.jianCnt;i++){ }}
                    <span class="layui-badge layui-bg-black">拣</span>
                    {{#  } }}
                    {{#  for(var i =1;i<= d.C4.kongCnt;i++){ }}
                    <span class="layui-badge layui-bg-cyan">空</span>
                    {{#  } }}
                    <span> </span>
                    {{#  for(var i =1;i<= d.C4.chaoCnt;i++){ }}
                    <span class="layui-badge layui-bg-orange">超</span>
                    {{#  } }}
                </div>
            </div>
        </div>
    </div>
    {{#  } }}
</script>

<script type="text/html" id="getRoadInfoC5">
    {{#  if(d.C5 != '' && d.C5 != null){ }}
    <div>
        <div class="layui-row layui-col-space10">
            <div class="layui-col-md9">
                <span style="color: #000000;font-weight: 600;">{{ d.C5.roadWayCode }}</span>
                <span style="color: #2fa0ec;font-weight: 800;font-size: larger">【{{ d.C5.dockPlat }}平台】</span>
            </div>
            <div class="layui-col-md3 right-top">
                <span style="color: #bb0d0d;font-weight: 800;font-size: larger">{{d.C5.trainSeq}}-{{d.C5.trainRoadWaySeq}}</span>
            </div>
        </div>
        <div>
            <div class="layui-row layui-col-space10">
                <div class="layui-col-md12">
                    门店：{{d.C5.clientName}}
                </div>
                <div class="layui-col-md6">
                    车牌号：{{d.C5.plateNumber}}
                </div>
                <div class="layui-col-md12">
                    最新集货时间：{{d.C5.latestDistributeTime}}
                </div>
                <div class="layui-col-md12">
                    {{#  for(var i =1;i<= d.C5.huoCnt;i++){ }}
                    <span class="layui-badge layui-bg-red">货</span>
                    {{#  } }}
                    {{#  for(var i =1;i<= d.C5.zhanCnt;i++){ }}
                    <span class="layui-badge layui-bg-blue">移</span>
                    {{#  } }}
                    {{#  for(var i =1;i<= d.C5.jiCnt;i++){ }}
                    <span class="layui-badge layui-bg-green">集</span>
                    {{#  } }}
                    {{#  for(var i =1;i<= d.C5.jianCnt;i++){ }}
                    <span class="layui-badge layui-bg-black">拣</span>
                    {{#  } }}
                    {{#  for(var i =1;i<= d.C5.kongCnt;i++){ }}
                    <span class="layui-badge layui-bg-cyan">空</span>
                    {{#  } }}
                    <span> </span>
                    {{#  for(var i =1;i<= d.C5.chaoCnt;i++){ }}
                    <span class="layui-badge layui-bg-orange">超</span>
                    {{#  } }}
                </div>
            </div>
        </div>
    </div>
    {{#  } }}
</script>

<script type="text/html" id="getRoadInfoC6">
    {{#  if(d.C6 != '' && d.C6 != null){ }}
    <div>
        <div class="layui-row layui-col-space10">
            <div class="layui-col-md9">
                <span style="color: #000000;font-weight: 600;">{{ d.C6.roadWayCode }}</span>
                <span style="color: #2fa0ec;font-weight: 800;font-size: larger">【{{ d.C6.dockPlat }}平台】</span>
            </div>
            <div class="layui-col-md3 right-top">
                <span style="color: #bb0d0d;font-weight: 800;font-size: larger">{{d.C6.trainSeq}}-{{d.C6.trainRoadWaySeq}}</span>
            </div>
        </div>
        <div>
            <div class="layui-row layui-col-space10">
                <div class="layui-col-md12">
                    门店：{{d.C6.clientName}}
                </div>
                <div class="layui-col-md6">
                    车牌号：{{d.C6.plateNumber}}
                </div>
                <div class="layui-col-md12">
                    最新集货时间：{{d.C6.latestDistributeTime}}
                </div>
                <div class="layui-col-md12">
                    {{#  for(var i =1;i<= d.C6.huoCnt;i++){ }}
                    <span class="layui-badge layui-bg-red">货</span>
                    {{#  } }}
                    {{#  for(var i =1;i<= d.C6.zhanCnt;i++){ }}
                    <span class="layui-badge layui-bg-blue">移</span>
                    {{#  } }}
                    {{#  for(var i =1;i<= d.C6.jiCnt;i++){ }}
                    <span class="layui-badge layui-bg-green">集</span>
                    {{#  } }}
                    {{#  for(var i =1;i<= d.C6.jianCnt;i++){ }}
                    <span class="layui-badge layui-bg-black">拣</span>
                    {{#  } }}
                    {{#  for(var i =1;i<= d.C6.kongCnt;i++){ }}
                    <span class="layui-badge layui-bg-cyan">空</span>
                    {{#  } }}
                    <span> </span>
                    {{#  for(var i =1;i<= d.C6.chaoCnt;i++){ }}
                    <span class="layui-badge layui-bg-orange">超</span>
                    {{#  } }}
                </div>
            </div>
        </div>
    </div>
    {{#  } }}
</script>

<script type="text/html" id="getRoadInfoC7">
    {{#  if(d.C7 != '' && d.C7 != null){ }}
    <div>
        <div class="layui-row layui-col-space10">
            <div class="layui-col-md9">
                <span style="color: #000000;font-weight: 600;">{{ d.C7.roadWayCode }}</span>
                <span style="color: #2fa0ec;font-weight: 800;font-size: larger">【{{ d.C7.dockPlat }}平台】</span>
            </div>
            <div class="layui-col-md3 right-top">
                <span style="color: #bb0d0d;font-weight: 800;font-size: larger">{{d.C7.trainSeq}}-{{d.C7.trainRoadWaySeq}}</span>
            </div>
        </div>
        <div>
            <div class="layui-row layui-col-space10">
                <div class="layui-col-md12">
                    门店：{{d.C7.clientName}}
                </div>
                <div class="layui-col-md6">
                    车牌号：{{d.C7.plateNumber}}
                </div>
                <div class="layui-col-md12">
                    最新集货时间：{{d.C7.latestDistributeTime}}
                </div>
                <div class="layui-col-md12">
                    {{#  for(var i =1;i<= d.C7.huoCnt;i++){ }}
                    <span class="layui-badge layui-bg-red">货</span>
                    {{#  } }}
                    {{#  for(var i =1;i<= d.C7.zhanCnt;i++){ }}
                    <span class="layui-badge layui-bg-blue">移</span>
                    {{#  } }}
                    {{#  for(var i =1;i<= d.C7.jiCnt;i++){ }}
                    <span class="layui-badge layui-bg-green">集</span>
                    {{#  } }}
                    {{#  for(var i =1;i<= d.C7.jianCnt;i++){ }}
                    <span class="layui-badge layui-bg-black">拣</span>
                    {{#  } }}
                    {{#  for(var i =1;i<= d.C7.kongCnt;i++){ }}
                    <span class="layui-badge layui-bg-cyan">空</span>
                    {{#  } }}
                    <span> </span>
                    {{#  for(var i =1;i<= d.C7.chaoCnt;i++){ }}
                    <span class="layui-badge layui-bg-orange">超</span>
                    {{#  } }}
                </div>
            </div>
        </div>
    </div>
    {{#  } }}
</script>
@}